package com.ruoyi.system.service;

import com.ruoyi.system.domain.imgBrowse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ImgBrowseService {

    /**
     * 根据用户ID查询用户上传图片地址
     * @param userId
     * @return
     */
    List<imgBrowse> findUploadImagePathByUserId(String userId);

    imgBrowse findUploadImagePathByImageId(@Param("upId") String upId);

    void byteArrayToFile(byte[] src, String filePath);
}
